home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-07-12 | 1.2 KB | 32 lines | [TEXT/GEOL] |
- Item 1168652 30-June-89 18:01
-
- From: CREMER.M Cremer, Mike
-
- To: TRADENET Tradenet, Michael Bielen, PRT
-
- cc: MACAPP.TECH$ MACAPP Tech
-
- Sub: Re: Where's the Printer?
-
- Michael (I assume you wrote this)
-
- I ran into the same problem, though not to that degree. The -43 error is the
- fnfErr (file not found) error, which I believe is returned from PrError when
- MacApp attempts to PrOpen. fnfErr gets returned if the printer resource fi
- can't be opened, in this case because none was selected. The error message
- could be more meaningful, perhaps, but I do not think any corrective action
- should be taken.
-
- MacApp, or your application, could conceivably check to see if a printer was
- selected by checking the magic strings in the System File. This could be
- extremely bad, however, as the resource id's of those strings is not
- guaranteed. Your program may suddenly stop working correctly under a future
- System. You might try a CatchFailures around your printing code, check to see
- if the error is -43, and add a message to the standard alert saying "check to
- make sure you have selected a printer" or something similar.
-
- Hope this helps.
-
- $mike cremer
-
-